package com.zeta.eduservice.service;

import com.zeta.eduservice.entity.question.EduChapter;
import com.zeta.eduservice.entity.vo.ChapterVo;
import com.zeta.eduservice.entity.vo.CourseQuery;
import com.zeta.eduservice.entity.vo.node.TypesysNode;
import com.zeta.eduservice.entity.vo.node.chapterNode;

import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author zeta
 * @since 2020-08-02
 */
public interface EduChapterService extends IService<EduChapter> {
	List<ChapterVo> nestedList(String courseId);

	boolean  deleteChapter(String chapterId);

	List<ChapterVo> getChapterVideoByCourseId(String courseId);

	ArrayList<chapterNode> getChapterAndInfo(String courseId);
}
